AddPrefabPostInit("yuemiheng", function(inst)
    if not TheWorld.ismastersim then
        return inst
    end
    if inst.components.drownable then	
		inst.components.drownable.enabled = false -- 不会掉水里
	end
	if inst.IgnorePhysicstask == nil then -- 加水面行走时的特效
		inst.IgnorePhysicstask = inst:DoPeriodicTask(0.1, function()
            RemovePhysicsColliders(inst) -- 移除物理碰撞
			if not inst:HasTag("playerghost") then
				local is_moving = inst.sg:HasStateTag("moving") 
				local is_running = inst.sg:HasStateTag("running")
				if  inst.components.drownable ~= nil and inst.components.drownable:IsOverWater() then
					if is_running or is_moving then
						inst.delay_count = (inst.delay_count or 0) + 1
						if inst.delay_count >= 2 then
							SpawnPrefab("weregoose_splash_less" ..tostring(math.random(2))).entity:SetParent(inst.entity)
							inst.delay_count = 0
						end
					end
				end
			end
		end)
	end
end)